<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/8/9
  Time: 19:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>简易计算器的异常处理</title>
</head>
<body>
<s:form action="calculator" method="post">
    <s:textfield name="num1" label="被除数" value="%{#attr.num1}"/>
    <s:textfield name="num2" label="除数" value="%{#request.num2}"/>
    <s:submit type="input" value="提交" name="method:divide"/>
    <s:textfield name="num3" value="%{#request.num3}" />
   <%-- <s:property value="%{#request.num3}"/>--%>
</s:form>

</body>
</html>
